package edu.sctu.zhengsenwen.month201506.day20150614.textthreadutil;

/**
 * Created by user15 on 2015/6/15.
 */
public class Test {

    static long i = 0;
    static long j = 0;
    static long res = 0;

    public static void add() {

        i++;
        j++;
        res = i + j;
    }

    public static void show() {

        if (i != j) {

            System.out.println(i + "+" + j + "=" + res);
        }
    }

}
